package cn.com.project.pattern.m.decorator;

/**
 * @Desc 装饰者
 * @Author wangjun
 * @Date 2018-01-24
 */
public abstract class Decorator extends SchoolReport {
	
	SchoolReport sr;
	
	public Decorator(SchoolReport sr) {
		this.sr = sr;
	}
	
	@Override
	public void report() {
		this.sr.report();
	}
	
	@Override
	public void sign(String name) {
		this.sr.sign(name);
	}
	
}
